import type { formConfig } from "@/components/screen"

export const Config: formConfig = {
  searchList: [
    {
      filed: "username",
      type: "input",
      label: "用户昵称",
      placeholder: "请输入昵称"
    },
    {
      filed: "name",
      type: "input",
      label: "用户姓名",
      placeholder: "请输入姓名"
    },
    {
      filed: "enable",
      type: "select",
      label: "禁用状态",
      data: [
        {
          id: 0,
          name: "未禁用"
        },
        {
          id: 1,
          name: "已禁用"
        }
      ]
    },
    {
      filed: "phone",
      type: "input",
      label: "用户电话",
      placeholder: "请输入电话"
    },
    {
      filed: "create_time",
      type: "time",
      label: "创建日期"
    }
  ],
  colLayout: {
    xl: 6,
    lg: 8,
    md: 8,
    sm: 12,
    xs: 24
  }
}
